package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.ProjectPlansDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.entity.ProjectPlans;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanMapper {

    Page<NursingPlan> pageFind(String name, Integer status);

    NursingPlan ById(Integer id);

    void update(NursingPlan nursingPlan);

    

    void delete(Long id);



    void updateStatus(Integer id, Integer status);


    void addPlans(List<ProjectPlans> plans);


    void add(NursingPlan nursingPlan);


    List<ProjectPlans> findProjectPlans(Integer id);

    void updatePlans(List<ProjectPlans> planProjects);

    void deletePlans(Long id);

    List<NursingPlan> selectAll();
}
